﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/FrontPageSite.master" AutoEventWireup="true" CodeBehind="ProductShow.aspx.cs" Inherits="CRMSalesManagement.FrontPageShow.ProductShow" %>
<%@ Register Assembly="DataPage" Namespace="DataPageTools" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../DataPage/css.css" rel="stylesheet" type="text/css" />
<div style="width:635px;margin:auto auto;">
 <div style=" width:100%; height:auto;">
    <asp:DataList ID="dlResult" runat="server" Height="100px" RepeatColumns="3" Width="100%" >
    <ItemTemplate>
        <div style="width:200px;height:166px;">
        <div style=" height:140px; width:190px;"
        onmouseover="this.style.cursor='hand';" onclick="self.location = '/FrontPageShow/ProductInformation.aspx?productInforId='+<%# Eval("productID") %>">
            <asp:Image Height="140px" Width="190px" ID="imgResult" runat="server" ImageUrl='<%# Eval("image") %>' />
            </div>
            <div style=" height:26px; width:190px;text-align:center;">
            <asp:HyperLink ID="HyperLink1" runat="server" Font-Underline="False" 
             Font-Size="12px" Font-Bold="False" CssClass="dl" NavigateUrl='<%#  Eval("productID", "/FrontPageShow/ProductInformation.aspx?productInforId={0}") %>'
              Target="_blank" Text='<%# Eval("brand").ToString()+Eval("type").ToString() %>' ForeColor="Black"></asp:HyperLink>
            </div>            
            
    </ItemTemplate>
</asp:DataList>
</div>
   <center>
    <div style="color:Red;font-size:12px;">
          <asp:Label ID="lblProduct" runat="server" Text=""></asp:Label></div>
    <div class="DataPage">
        
        <cc1:datapage ID="DataPage1" runat="server" DIVClassName="yahoo" 
                ShowRecordCount="9">
    <PageIndex PageIndexType="TextBox"></PageIndex>
        </cc1:datapage>
   </center>
        </div>
</div>
</asp:Content>
